package com.li.bean.example;

import java.util.Date;

public class Student {
    //java.util.date在Spring被当作简单类型，但是简单类型的话，注入的日期字符串格式有要求
    //java.util.date在Spring中也可以被当作非简单类型
    private Date birthday;

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Student{" +
                "birthday=" + birthday +
                '}';
    }
}
